/*
**  This program is free software: you can redistribute it and/or modify
**  it under the terms of the GNU General Public License as published by
**  the Free Software Foundation, either version 3 of the License, or
**  (at your option) any later version.
**
**  This program is distributed in the hope that it will be useful,
**  but WITHOUT ANY WARRANTY; without even the implied warranty of
**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
**  GNU General Public License for more details.
**
**  You should have received a copy of the GNU General Public License
**
************  File Info  ********************************
**
**  Author: CMlr<zxyzxy12321@gmail.com>
**  Date:
**  Project: MyPowder
**  Description:
**
**
*/

#include "stdlib.h"
#include "element.h"

const struct element_t elem[PT_MAX] =
{
   /*NAME    ID       COLOR     LIFE          LD G  W  TYPE         TEMP  UPDATE DRAW DESC   */
    {"NONE", PT_NONE, 0x000000, 0,            0, 0, 0, TYPE_NONE,   0.0f, NULL, NULL, "Nothing"},
    {"WATR", PT_WATR, 0x039EFF, LIFE_DEFAULT, 0, 1, 1, TYPE_LIQUID, 0.0f, NULL, NULL, "Water"},
    {"GAS",  PT_GAS,  0xFFFF00, LIFE_DEFAULT, 0, 1, 1, TYPE_GAS,    0.0f, NULL, NULL, "Gas"}
   /*NAME    ID       COLOR     LIFE          LD G  W  TYPE         TEMP  UPDATE DRAW DESC   */
};

pmap_t pmap[YRES][XRES] = {0};

part_t parts[MAX_PART_COUNT] = {0};
